import * as Storage from './storage';

const TOKEN_KEY = import.meta.env.VITE_TOKEN_KEY;

export const get = () => localStorage.getItem(TOKEN_KEY);

export const set = (token: string) => localStorage.setItem(TOKEN_KEY, token);

export const remove = () => localStorage.removeItem(TOKEN_KEY);